<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" media="all" />
    <link rel="stylesheet" href="__CSS__/admin.css" media="all">
    <style type="text/css">
        /* tooltip */
        #tooltip {
            position: absolute;
            border: 1px solid #ccc;
            background: #333;
            padding: 2px;
            display: none;
            color: #fff;
        }
    </style>
</head>

<body style="padding:10px;">
    <div class="tplay-body-div">
        <div class="layui-tab">
            <ul class="layui-tab-title">
                <li><a href="{:url('admin/dingding/xiangmu')}" class="a_menu">月调表</a></li>
                <li><a href="{:url('admin/dingding/sheshi')}" class="a_menu" style="border: 1px solid;">基础设施建设工程提报表</a></li>
                <li><a href="{:url('admin/dingding/anzhi')}" class="a_menu">安置区建设提报表</a></li>
            </ul>
        </div>
        <fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;border:0">
            <form class="layui-form serch" action="" method="post">
                <div class="layui-form-item" style="float: left;">
                    <!-- <div class="layui-input-inline">
                        <input type="text" name="keywords" lay-verify="title" autocomplete="off" placeholder="请输入关键词" class="layui-input layui-btn-sm">
                    </div> -->
                    <a class="layui-btn layui-btn-danger layui-btn-sm" lay-submit="" lay-filter="serch" href="http://bzshuju.itwj.cn/static/taizhang.doc">导出</a>
                </div>
            </form>
        </fieldset>
        <table class="layui-table" lay-size="sm">
            <colgroup>
                <col width="50">
                <col width="150">
                <col width="100">
                <col width="100">
                <col width="200">
                <col width="50">
                <col width="50">
                <col width="150">
            </colgroup>
            <thead>
                <tr style="background-color: #f2f2f2;">
                    <th rowspan="2" scope="col">序号</th>
                    <th rowspan="2" scope="col">项目名称</th>
                    <th rowspan="2" scope="col">项目简介</th>
                    <th rowspan="2" scope="col">责任单位负责人</th>
                    <th rowspan="2" scope="col">开竣工时间</th>
                    <th colspan="2" scope="col">工作内容</th>
                    <th colspan="2" scope="col">进展情况</th>
                </tr>
                <tr style="background-color: #f2f2f2;">
                    <td>类别</td>
                    <td>完成起止时间</td>
                    <td>总体完成情况</td>
                    <td>本期完成情况</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th rowspan="3" scope="row">1</th>
                    <td rowspan="3">滨州市</td>
                    <td rowspan="3">滨州市</td>
                    <td rowspan="3">张三</td>
                    <td rowspan="3">2010.10.21</td>
                    <td>村庄拆迁</td>
                    <td>2010.10.21</td>
                    <td>完成</td>
                    <td>完成</td>
                </tr>
                <tr>
                    <td>手续办理</td>
                    <td>2010.10.21</td>
                    <td>完成</td>
                    <td>完成</td>
                </tr>
                <tr>
                    <td>项目建设</td>
                    <td>2010.10.21</td>
                    <td>完成</td>
                    <td>完成</td>
                </tr>
            </tbody>
        </table>

        {include file="public/foot"}
        <script type="text/javascript">
            $('.delete').click(function() {
                var id = $(this).attr('id');
                layer.confirm('确定要删除?', function(index) {
                    $.ajax({
                        url: "{:url('admin/dingding/delete')}",
                        data: {
                            id: id
                        },
                        success: function(res) {
                            layer.msg(res.msg);
                            if (res.code == 1) {
                                setTimeout(function() {
                                    location.href = res.url;
                                    location.reload();
                                }, 1500)
                            }
                        }
                    })
                })
            })
        </script>
        <script type="text/javascript">
            layui.use('layer', function() {
                var layer = layui.layer;
                $('.look').click(function() {
                    var id = $(this).attr('data-id');
                    layer.msg('留言标记', {
                        time: 20000,
                        btn: ['标记已读', '标记未读', '再想想'],
                        yes: function(index, layero) {
                            $.ajax({
                                url: "{:url('admin/tomessages/mark')}",
                                type: 'post',
                                data: {
                                    id: id,
                                    is_look: '1'
                                },
                                success: function(res) {
                                    layer.msg(res.msg);
                                    if (res.code == 1) {
                                        setTimeout(function() {
                                            location.href = res.url;
                                        }, 1500)
                                    }
                                }
                            })
                        },
                        btn2: function(index, layero) {
                            $.ajax({
                                url: "{:url('admin/tomessages/mark')}",
                                type: 'post',
                                data: {
                                    id: id,
                                    is_look: '0'
                                },
                                success: function(res) {
                                    layer.msg(res.msg);
                                    if (res.code == 1) {
                                        setTimeout(function() {
                                            location.href = res.url;
                                        }, 1500)
                                    }
                                }
                            })
                        }
                    })
                })
            });
        </script>
    </div>
</body>

</html>